from client import APITest
api = APITest('http://127.0.0.1:5001')
data = api.login('12345678901', '1234567')
print data.get('message')
data = api.login('12345678901', '123456')
print data.get('message')
data = api.user()
print data
print nickname
print data.get('nickname')
data = api.logout()
print data
print message
print data.get('message')